package uml.aggregation;

//电脑 (鼠标和显示屏可以与电脑分离，所以表示聚合关系)
public class Conputer {
    private Mouse mouse;
    private Moniter moniter;

    public Mouse getMouse() {
        return mouse;
    }

    public void setMouse(Mouse mouse) {
        this.mouse = mouse;
    }

    public Moniter getMoniter() {
        return moniter;
    }

    public void setMoniter(Moniter moniter) {
        this.moniter = moniter;
    }
}
